package org.example.corpus.monolingual.service;

import org.example.corpus.monolingual.controller.dto.FrequencyDto;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface WordFrequencyService {
    FrequencyDto getFrequency(String keyword, Integer corpusId);

    List<Map<String, Object>> getFrequencyRank(int corpusId) throws IOException;
}
